package com.test.realcityalfa.connection;

public class RequestMethodFactory {
	public static final int GET_METHOD = 1;
	public static final int POST_METHOD = 2;
	
	public static RequestMethod getRequestFactory(int methodId)
	{
		switch(methodId)
		{
			case GET_METHOD:
				return new GetRequestMethod();				
			case POST_METHOD:
				return new PostRequestMethod();
			default:
				return null;
		}
	}

}
